<?php
/*

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Released under the GNU General Public License
*/
//Install settings
//catalog version
  define('VERSION', 'OS POS 0.8');
//install logo
   define('INSTALL_LOGO', 'o-s-commerce_2.png');
// install sql file
  define('SQL_FILE', 'install/sql/ospos.sql');
// install sql file
    define('SQL_FILE_TEST', 'install/sql/ospostestdata.sql');

// list of available language
    define('LNG_FILE', 'languages/language_list.php');

    include('includes/languages/language_list.php');

//default language
    $language_d = 'english';
//default language code
    $languages_code_d = 'en';
//define('DISABLE_INSTALL', 'enabled');


// Set the level of error reporting
  error_reporting(E_ALL & ~E_NOTICE);

  require('includes/functions/general.php');
  require('includes/functions/database.php');
  require('includes/functions/html_output.php');
  require('includes/functions/validations.php');
  // set the language

 GLOBAL $language_code, $language1, $language_code, $language_code ;

      $language_code = (isset($_POST['language_code']) ? $_POST['language_code'] : $languages_code_d);
      $language = (isset($languages_list[$language_code]['directory']) ? $languages_list[$language_code]['directory'] : $language_d);

  if  (is_null($language)) {
    $language = $language_d;
  }

  // include the language main translations, not each page calls it's own
    require('includes/languages/' . $language . '.php');
// initialize the message stack for output messages
  require('includes/classes/message_stack.php');
  $messageStack = new messageStack;

?>